<template>
  <div class="tab-content">
    {{ contentData[tabIndex] | replaceNumToChs }}
  </div>
</template>

<script>
import { mapState } from "vuex";
import { replaceNumToChs } from "@/filters";
export default {
  name: "TabConent",
  props: {
    contentData: String,
  },
  computed: {
    ...mapState(["tabIndex"]),
  },
  filters: {
    replaceNumToChs,
  },
};
</script>
